@import "../common/var";

.switch-user-container {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100%;
  background-color: $--background-color-base;

  .login-form {
    width: 330px;
    margin: auto;
    display: flex;
  }

  .login-actions {
    width: 100%;
    display: flex;
  }

  .login-form-content {
    margin: auto;
    width: 100%;
  }

  .login-title {
    font-size: 60px;
    color: #93a6b8;
    text-align: center;
  }

  .login-subtitle {
    font-size: 20px;
    color: slategrey;
    text-align: center;
    margin-bottom: 30px;
  }

  .login-form-item {
    margin-top: 10px;
  }
  .login-logo {
    width: 100px;
    margin-bottom: 30px;
  }

  .user-list {
    max-height: 325px;
    overflow: auto;
    background: $--background-color-base;
    border: $--border-base;
    border-radius: 2px;
  }

  .card-item {
    cursor: pointer;
    padding: 10px 15px;
    transition: 0.3s;
  }

  .card-item + .card-item {
    border-top: $--border-base;
  }

  .card-item:hover {
    background: $--color-primary-light-5;
  }

  .card-item-active {
    background: $--color-primary-light-5;
    transition: 0.3s;
  }

  .card-content {
    display: flex;
  }
  .card-content-avatar {
    width: 65px;
    display: flex;
    align-items: center;
  }
  .card-content-body {
    flex: 1;
    padding-left: 10px;
  }
  .card-content-up {
    width: 240px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: $--color-warning;
  }
  .card-content-down {
    width: 240px;
    font-size: 12px;
    color: $--color-text-regular;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .yellow {
    color: #ffb700;
  }
}

